package com.neu.entity;

public class SalariedEmployee extends ColaEmployee {
private double month_sal;

public SalariedEmployee() {
	super();
}

public SalariedEmployee(double month_sal,String name,int month) {
	super(name,month);
	this.month_sal = month_sal;
}

@Override
public double getSalary(int month) {
	if(super.getMonth()==month) {
		month_sal+=100;
	}
	return month_sal;
}

	 
}
